Skip to main content

date

Type

function

Summary

Returns the current date.

Syntax

the [{ long | abbreviated | short }] [{ english | system }] date
the internet date
date()

Description

Use the date function to display the current date to the user, or to store the date for later use.

The format of the system date forms is set by the Date & Time control panel (on Mac OS systems), the Date control panel (on Windows systems), or the LANG environment variable (on Unix systems).

Examples

answer the date
put the internet date into dateHeader
put the long system date into field "Today's Date"

command: convert

control structure: function

function: dateFormat, milliseconds, format, ticks

glossary: property, return, format

keyword: long, english, short, system, abbreviated

property: centuryCutoff

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?